﻿



namespace Tester;

public static class MauiProgram
{
	public static MauiApp CreateMauiApp()
	{
		var builder = MauiApp.CreateBuilder();
		builder
			.UseMauiApp<App>()
			.ConfigureFonts(fonts =>
			{
				fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
				fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
				fonts.AddFont("iconfont.ttf", "IconFont");
				fonts.AddFont("iconfont2.ttf", "SubFont");
			});

		//#if WINDOWS
		//            string? name = "Windows";
		//#elif MACCATALYST
		//            string? name = "Mac";
		//#else
		//            string? name = "Mobile";
		//#endif

		return builder.Build();
	}
}
